Azure IoT Central (stable:2022-05-31)

2025/10/23 • 67 new methods

ApiTokens_List (new)
Description Get the list of API tokens in an application. The token value will never be returned for security reasons.
Reference Link ¶

⚼ Request

GET:  /apiTokens
{
api-version: string ,
}

⚐ Response (200)

{
value:
[
{
id: string ,
token: string ,
expiry: string ,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
$headers:
{
x-ms-error-code: string ,
}
,
$schema:
{
error:
{
code: string ,
message: string ,
requestId: string ,
time: string ,
}
,
}
,
}
ApiTokens_Get (new)
Description Get an API token by ID.
Reference Link ¶

⚼ Request

GET:  /apiTokens/{tokenId}
{
api-version: string ,
tokenId: string ,
}

⚐ Response (200)

{
id: string ,
token: string ,
expiry: string ,
}

⚐ Response (default)

{
$headers:
{
x-ms-error-code: string ,
}
,
$schema:
{
error:
{
code: string ,
message: string ,
requestId: string ,
time: string ,
}
,
}
,
}
ApiTokens_Create (new)
Description Create a new API token in the application to use in the IoT Central public API. The token value will be returned in the response, and won't be returned again in subsequent requests.
Reference Link ¶

⚼ Request

PUT:  /apiTokens/{tokenId}
{
api-version: string ,
tokenId: string ,
body:
{
id: string ,
token: string ,
expiry: string ,
}
,
}

⚐ Response (200)

{
id: string ,
token: string ,
expiry: string ,
}

⚐ Response (default)

{
$headers:
{
x-ms-error-code: string ,
}
,
$schema:
{
error:
{
code: string ,
message: string ,
requestId: string ,
time: string ,
}
,
}
,
}
ApiTokens_Remove (new)
Description Delete an API token.
Reference Link ¶

⚼ Request

DELETE:  /apiTokens/{tokenId}
{
api-version: string ,
tokenId: string ,
}

⚐ Response (204)

{}

⚐ Response (default)

{
$headers:
{
x-ms-error-code: string ,
}
,
$schema:
{
error:
{
code: string ,
message: string ,
requestId: string ,
time: string ,
}
,
}
,
}
DeviceGroups_List (new)
Description Get the list of device groups in an application.
Reference Link ¶

⚼ Request

GET:  /deviceGroups
{
api-version: string ,
}

⚐ Response (200)

{
value:
[
{
id: string ,
displayName: string ,
filter: string ,
description: string ,
etag: string ,
organizations:
[
string ,
]
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
$headers:
{
x-ms-error-code: string ,
}
,
$schema:
{
error:
{
code: string ,
message: string ,
requestId: string ,
time: string ,
}
,
}
,
}
DeviceGroups_Get (new)
Description Get the device group by ID.
Reference Link ¶

⚼ Request

GET:  /deviceGroups/{deviceGroupId}
{
api-version: string ,
deviceGroupId: string ,
}

⚐ Response (200)

{
id: string ,
displayName: string ,
filter: string ,
description: string ,
etag: string ,
organizations:
[
string ,
]
,
}

⚐ Response (default)

{
$headers:
{
x-ms-error-code: string ,
}
,
$schema:
{
error:
{
code: string ,
message: string ,
requestId: string ,
time: string ,
}
,
}
,
}
DeviceGroups_Create (new)
Description Create or update a device group.
Reference Link ¶

⚼ Request

PUT:  /deviceGroups/{deviceGroupId}
{
api-version: string ,
deviceGroupId: string ,
body:
{
id: string ,
displayName: string ,
filter: string ,
description: string ,
etag: string ,
organizations:
[
string ,
]
,
}
,
}

⚐ Response (200)

{
id: string ,
displayName: string ,
filter: string ,
description: string ,
etag: string ,
organizations:
[
string ,
]
,
}

⚐ Response (default)

{
$headers:
{
x-ms-error-code: string ,
}
,
$schema:
{
error:
{
code: string ,
message: string ,
requestId: string ,
time: string ,
}
,
}
,
}
DeviceGroups_Update (new)
Description Update an existing device group by ID.
Reference Link ¶

⚼ Request

PATCH:  /deviceGroups/{deviceGroupId}
{
api-version: string ,
deviceGroupId: string ,
body: object ,
}

⚐ Response (200)

{
id: string ,
displayName: string ,
filter: string ,
description: string ,
etag: string ,
organizations:
[
string ,
]
,
}

⚐ Response (default)

{
$headers:
{
x-ms-error-code: string ,
}
,
$schema:
{
error:
{
code: string ,
message: string ,
requestId: string ,
time: string ,
}
,
}
,
}
DeviceGroups_Remove (new)
Description Delete a device group.
Reference Link ¶

⚼ Request

DELETE:  /deviceGroups/{deviceGroupId}
{
api-version: string ,
deviceGroupId: string ,
}

⚐ Response (204)

{}

⚐ Response (default)

{
$headers:
{
x-ms-error-code: string ,
}
,
$schema:
{
error:
{
code: string ,
message: string ,
requestId: string ,
time: string ,
}
,
}
,
}
DeviceTemplates_List (new)
Description Get the list of device templates in an application.
Reference Link ¶

⚼ Request

GET:  /deviceTemplates
{
api-version: string ,
}

⚐ Response (200)

{
value:
[
{
@id: string ,
@type:
[
string ,
]
,
etag: string ,
displayName: string ,
description: string ,
capabilityModel: object ,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
$headers:
{
x-ms-error-code: string ,
}
,
$schema:
{
error:
{
code: string ,
message: string ,
requestId: string ,
time: string ,
}
,
}
,
}
DeviceTemplates_Get (new)
Description Get a device template by ID
Reference Link ¶

⚼ Request

GET:  /deviceTemplates/{deviceTemplateId}
{
api-version: string ,
deviceTemplateId: string ,
}

⚐ Response (200)

{
@id: string ,
@type:
[
string ,
]
,
etag: string ,
displayName: string ,
description: string ,
capabilityModel: object ,
}

⚐ Response (default)

{
$headers:
{
x-ms-error-code: string ,
}
,
$schema:
{
error:
{
code: string ,
message: string ,
requestId: string ,
time: string ,
}
,
}
,
}
DeviceTemplates_Create (new)
Description Publish a new device template. Default views will be automatically generated for new device templates created this way.
Reference Link ¶

⚼ Request

PUT:  /deviceTemplates/{deviceTemplateId}
{
api-version: string ,
deviceTemplateId: string ,
body:
{
@id: string ,
@type:
[
string ,
]
,
etag: string ,
displayName: string ,
description: string ,
capabilityModel: object ,
}
,
}

⚐ Response (200)

{
@id: string ,
@type:
[
string ,
]
,
etag: string ,
displayName: string ,
description: string ,
capabilityModel: object ,
}

⚐ Response (default)

{
$headers:
{
x-ms-error-code: string ,
}
,
$schema:
{
error:
{
code: string ,
message: string ,
requestId: string ,
time: string ,
}
,
}
,
}
DeviceTemplates_Update (new)
Description Update the cloud properties and overrides of an existing device template via patch.
Reference Link ¶

⚼ Request

PATCH:  /deviceTemplates/{deviceTemplateId}
{
api-version: string ,
deviceTemplateId: string ,
body: object ,
}

⚐ Response (200)

{
@id: string ,
@type:
[
string ,
]
,
etag: string ,
displayName: string ,
description: string ,
capabilityModel: object ,
}

⚐ Response (default)

{
$headers:
{
x-ms-error-code: string ,
}
,
$schema:
{
error:
{
code: string ,
message: string ,
requestId: string ,
time: string ,
}
,
}
,
}
DeviceTemplates_Remove (new)
Description Delete an existing device template by device ID.
Reference Link ¶

⚼ Request

DELETE:  /deviceTemplates/{deviceTemplateId}
{
api-version: string ,
deviceTemplateId: string ,
}

⚐ Response (204)

{}

⚐ Response (default)

{
$headers:
{
x-ms-error-code: string ,
}
,
$schema:
{
error:
{
code: string ,
message: string ,
requestId: string ,
time: string ,
}
,
}
,
}
Devices_List (new)
Description Get the list of devices in an application.
Reference Link ¶

⚼ Request

GET:  /devices
{
api-version: string ,
}

⚐ Response (200)

{
value:
[
{
id: string ,
etag: string ,
displayName: string ,
template: string ,
enabled: boolean ,
provisioned: boolean ,
simulated: boolean ,
organizations:
[
string ,
]
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
$headers:
{
x-ms-error-code: string ,
}
,
$schema:
{
error:
{
code: string ,
message: string ,
requestId: string ,
time: string ,
}
,
}
,
}
Devices_Get (new)
Description Get details about an existing device by device ID.
Reference Link ¶

⚼ Request

GET:  /devices/{deviceId}
{
api-version: string ,
deviceId: string ,
}

⚐ Response (200)

{
id: string ,
etag: string ,
displayName: string ,
template: string ,
enabled: boolean ,
provisioned: boolean ,
simulated: boolean ,
organizations:
[
string ,
]
,
}

⚐ Response (default)

{
$headers:
{
x-ms-error-code: string ,
}
,
$schema:
{
error:
{
code: string ,
message: string ,
requestId: string ,
time: string ,
}
,
}
,
}
Devices_Create (new)
Description Create a new device.
Reference Link ¶

⚼ Request

PUT:  /devices/{deviceId}
{
api-version: string ,
deviceId: string ,
body:
{
id: string ,
etag: string ,
displayName: string ,
template: string ,
enabled: boolean ,
provisioned: boolean ,
simulated: boolean ,
organizations:
[
string ,
]
,
}
,
}

⚐ Response (200)

{
id: string ,
etag: string ,
displayName: string ,
template: string ,
enabled: boolean ,
provisioned: boolean ,
simulated: boolean ,
organizations:
[
string ,
]
,
}

⚐ Response (default)

{
$headers:
{
x-ms-error-code: string ,
}
,
$schema:
{
error:
{
code: string ,
message: string ,
requestId: string ,
time: string ,
}
,
}
,
}
Devices_Update (new)
Description Update an existing device by ID.
Reference Link ¶

⚼ Request

PATCH:  /devices/{deviceId}
{
api-version: string ,
deviceId: string ,
body: object ,
}

⚐ Response (200)

{
id: string ,
etag: string ,
displayName: string ,
template: string ,
enabled: boolean ,
provisioned: boolean ,
simulated: boolean ,
organizations:
[
string ,
]
,
}

⚐ Response (default)

{
$headers:
{
x-ms-error-code: string ,
}
,
$schema:
{
error:
{
code: string ,
message: string ,
requestId: string ,
time: string ,
}
,
}
,
}
Devices_Remove (new)
Description Delete an existing device by device ID.
Reference Link ¶

⚼ Request

DELETE:  /devices/{deviceId}
{
api-version: string ,
deviceId: string ,
}

⚐ Response (204)

{}

⚐ Response (default)

{
$headers:
{
x-ms-error-code: string ,
}
,
$schema:
{
error:
{
code: string ,
message: string ,
requestId: string ,
time: string ,
}
,
}
,
}
Devices_GetAttestation (new)
Description Get device attestation
Reference Link ¶

⚼ Request

GET:  /devices/{deviceId}/attestation
{
api-version: string ,
deviceId: string ,
}

⚐ Response (200)

{
type: string ,
}

⚐ Response (default)

{
$headers:
{
x-ms-error-code: string ,
}
,
$schema:
{
error:
{
code: string ,
message: string ,
requestId: string ,
time: string ,
}
,
}
,
}
Devices_CreateAttestation (new)
Description Create an individual device attestation
Reference Link ¶

⚼ Request

PUT:  /devices/{deviceId}/attestation
{
api-version: string ,
deviceId: string ,
body:
{
type: string ,
}
,
}

⚐ Response (200)

{
type: string ,
}

⚐ Response (default)

{
$headers:
{
x-ms-error-code: string ,
}
,
$schema:
{
error:
{
code: string ,
message: string ,
requestId: string ,
time: string ,
}
,
}
,
}
Devices_UpdateAttestation (new)
Description Update an individual device attestation via patch
Reference Link ¶

⚼ Request

PATCH:  /devices/{deviceId}/attestation
{
api-version: string ,
deviceId: string ,
body: object ,
}

⚐ Response (200)

{
type: string ,
}

⚐ Response (default)

{
$headers:
{
x-ms-error-code: string ,
}
,
$schema:
{
error:
{
code: string ,
message: string ,
requestId: string ,
time: string ,
}
,
}
,
}
Devices_RemoveAttestation (new)
Description Remove an individual device attestation
Reference Link ¶

⚼ Request

DELETE:  /devices/{deviceId}/attestation
{
api-version: string ,
deviceId: string ,
}

⚐ Response (204)

{}

⚐ Response (default)

{
$headers:
{
x-ms-error-code: string ,
}
,
$schema:
{
error:
{
code: string ,
message: string ,
requestId: string ,
time: string ,
}
,
}
,
}
Devices_GetCommandHistory (new)
Description Get device command history
Reference Link ¶

⚼ Request

GET:  /devices/{deviceId}/commands/{commandName}
{
api-version: string ,
deviceId: string ,
commandName: string ,
}

⚐ Response (200)

{
value:
[
{
id: string ,
connectionTimeout: integer ,
responseTimeout: integer ,
request: string ,
response: string ,
responseCode: integer ,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
$headers:
{
x-ms-error-code: string ,
}
,
$schema:
{
error:
{
code: string ,
message: string ,
requestId: string ,
time: string ,
}
,
}
,
}
Devices_RunCommand (new)
Description Run a command on a device.
Reference Link ¶

⚼ Request

POST:  /devices/{deviceId}/commands/{commandName}
{
api-version: string ,
deviceId: string ,
commandName: string ,
body:
{
id: string ,
connectionTimeout: integer ,
responseTimeout: integer ,
request: string ,
response: string ,
responseCode: integer ,
}
,
}

⚐ Response (201)

{
id: string ,
connectionTimeout: integer ,
responseTimeout: integer ,
request: string ,
response: string ,
responseCode: integer ,
}

⚐ Response (default)

{
$headers:
{
x-ms-error-code: string ,
}
,
$schema:
{
error:
{
code: string ,
message: string ,
requestId: string ,
time: string ,
}
,
}
,
}
Devices_ListComponents (new)
Description List the components present in a device
Reference Link ¶

⚼ Request

GET:  /devices/{deviceId}/components
{
api-version: string ,
deviceId: string ,
}

⚐ Response (200)

{
value:
[
object ,
]
,
nextLink: string ,
}

⚐ Response (default)

{
$headers:
{
x-ms-error-code: string ,
}
,
$schema:
{
error:
{
code: string ,
message: string ,
requestId: string ,
time: string ,
}
,
}
,
}
Devices_GetComponentCommandHistory (new)
Description Get component command history
Reference Link ¶

⚼ Request

GET:  /devices/{deviceId}/components/{componentName}/commands/{commandName}
{
api-version: string ,
deviceId: string ,
componentName: string ,
commandName: string ,
}

⚐ Response (200)

{
value:
[
{
id: string ,
connectionTimeout: integer ,
responseTimeout: integer ,
request: string ,
response: string ,
responseCode: integer ,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
$headers:
{
x-ms-error-code: string ,
}
,
$schema:
{
error:
{
code: string ,
message: string ,
requestId: string ,
time: string ,
}
,
}
,
}
Devices_RunComponentCommand (new)
Description Run a command on a component.
Reference Link ¶

⚼ Request

POST:  /devices/{deviceId}/components/{componentName}/commands/{commandName}
{
api-version: string ,
deviceId: string ,
componentName: string ,
commandName: string ,
body:
{
id: string ,
connectionTimeout: integer ,
responseTimeout: integer ,
request: string ,
response: string ,
responseCode: integer ,
}
,
}

⚐ Response (201)

{
id: string ,
connectionTimeout: integer ,
responseTimeout: integer ,
request: string ,
response: string ,
responseCode: integer ,
}

⚐ Response (default)

{
$headers:
{
x-ms-error-code: string ,
}
,
$schema:
{
error:
{
code: string ,
message: string ,
requestId: string ,
time: string ,
}
,
}
,
}
Devices_GetComponentProperties (new)
Description Get device properties for a specific component
Reference Link ¶

⚼ Request

GET:  /devices/{deviceId}/components/{componentName}/properties
{
api-version: string ,
deviceId: string ,
componentName: string ,
}

⚐ Response (200)

{
$schema: object ,
}

⚐ Response (default)

{
$headers:
{
x-ms-error-code: string ,
}
,
$schema:
{
error:
{
code: string ,
message: string ,
requestId: string ,
time: string ,
}
,
}
,
}
Devices_ReplaceComponentProperties (new)
Description Replace device properties for a specific component
Reference Link ¶

⚼ Request

PUT:  /devices/{deviceId}/components/{componentName}/properties
{
api-version: string ,
deviceId: string ,
componentName: string ,
body: object ,
}

⚐ Response (202)

{
$schema: object ,
}

⚐ Response (default)

{
$headers:
{
x-ms-error-code: string ,
}
,
$schema:
{
error:
{
code: string ,
message: string ,
requestId: string ,
time: string ,
}
,
}
,
}
Devices_UpdateComponentProperties (new)
Description Update device properties for a specific component via patch
Reference Link ¶

⚼ Request

PATCH:  /devices/{deviceId}/components/{componentName}/properties
{
api-version: string ,
deviceId: string ,
componentName: string ,
body: object ,
}

⚐ Response (202)

{
$schema: object ,
}

⚐ Response (default)

{
$headers:
{
x-ms-error-code: string ,
}
,
$schema:
{
error:
{
code: string ,
message: string ,
requestId: string ,
time: string ,
}
,
}
,
}
Devices_GetComponentTelemetryValue (new)
Description Get the last telemetry value from a component.
Reference Link ¶

⚼ Request

GET:  /devices/{deviceId}/components/{componentName}/telemetry/{telemetryName}
{
api-version: string ,
deviceId: string ,
componentName: string ,
telemetryName: string ,
}

⚐ Response (200)

{
value: string ,
timestamp: string ,
}

⚐ Response (default)

{
$headers:
{
x-ms-error-code: string ,
}
,
$schema:
{
error:
{
code: string ,
message: string ,
requestId: string ,
time: string ,
}
,
}
,
}
Devices_GetCredentials (new)
Description Get device credentials
Reference Link ¶

⚼ Request

GET:  /devices/{deviceId}/credentials
{
api-version: string ,
deviceId: string ,
}

⚐ Response (200)

{
idScope: string ,
symmetricKey:
{
primaryKey: string ,
secondaryKey: string ,
}
,
x509:
{
clientCertificates:
{
primary:
{
certificate: string ,
info:
{
sha1Thumbprint: string ,
}
,
}
,
secondary:
{
certificate: string ,
info:
{
sha1Thumbprint: string ,
}
,
}
,
}
,
}
,
tpm:
{
endorsementKey: string ,
}
,
}

⚐ Response (default)

{
$headers:
{
x-ms-error-code: string ,
}
,
$schema:
{
error:
{
code: string ,
message: string ,
requestId: string ,
time: string ,
}
,
}
,
}
Devices_ListModules (new)
Description List the modules present in a device
Reference Link ¶

⚼ Request

GET:  /devices/{deviceId}/modules
{
api-version: string ,
deviceId: string ,
}

⚐ Response (200)

{
value:
[
object ,
]
,
nextLink: string ,
}

⚐ Response (default)

{
$headers:
{
x-ms-error-code: string ,
}
,
$schema:
{
error:
{
code: string ,
message: string ,
requestId: string ,
time: string ,
}
,
}
,
}
Devices_GetModuleCommandHistory (new)
Description Get module command history
Reference Link ¶

⚼ Request

GET:  /devices/{deviceId}/modules/{moduleName}/commands/{commandName}
{
api-version: string ,
deviceId: string ,
moduleName: string ,
commandName: string ,
}

⚐ Response (200)

{
value:
[
{
id: string ,
connectionTimeout: integer ,
responseTimeout: integer ,
request: string ,
response: string ,
responseCode: integer ,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
$headers:
{
x-ms-error-code: string ,
}
,
$schema:
{
error:
{
code: string ,
message: string ,
requestId: string ,
time: string ,
}
,
}
,
}
Devices_RunModuleCommand (new)
Description Run a command on a module.
Reference Link ¶

⚼ Request

POST:  /devices/{deviceId}/modules/{moduleName}/commands/{commandName}
{
api-version: string ,
deviceId: string ,
moduleName: string ,
commandName: string ,
body:
{
id: string ,
connectionTimeout: integer ,
responseTimeout: integer ,
request: string ,
response: string ,
responseCode: integer ,
}
,
}

⚐ Response (201)

{
id: string ,
connectionTimeout: integer ,
responseTimeout: integer ,
request: string ,
response: string ,
responseCode: integer ,
}

⚐ Response (default)

{
$headers:
{
x-ms-error-code: string ,
}
,
$schema:
{
error:
{
code: string ,
message: string ,
requestId: string ,
time: string ,
}
,
}
,
}
Devices_ListModuleComponents (new)
Description List the components present in a module
Reference Link ¶

⚼ Request

GET:  /devices/{deviceId}/modules/{moduleName}/components
{
api-version: string ,
deviceId: string ,
moduleName: string ,
}

⚐ Response (200)

{
value:
[
object ,
]
,
nextLink: string ,
}

⚐ Response (default)

{
$headers:
{
x-ms-error-code: string ,
}
,
$schema:
{
error:
{
code: string ,
message: string ,
requestId: string ,
time: string ,
}
,
}
,
}
Devices_GetModuleComponentCommandHistory (new)
Description Get module component command history
Reference Link ¶

⚼ Request

GET:  /devices/{deviceId}/modules/{moduleName}/components/{componentName}/commands/{commandName}
{
api-version: string ,
deviceId: string ,
moduleName: string ,
componentName: string ,
commandName: string ,
}

⚐ Response (200)

{
value:
[
{
id: string ,
connectionTimeout: integer ,
responseTimeout: integer ,
request: string ,
response: string ,
responseCode: integer ,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
$headers:
{
x-ms-error-code: string ,
}
,
$schema:
{
error:
{
code: string ,
message: string ,
requestId: string ,
time: string ,
}
,
}
,
}
Devices_RunModuleComponentCommand (new)
Description Run a command on a module.
Reference Link ¶

⚼ Request

POST:  /devices/{deviceId}/modules/{moduleName}/components/{componentName}/commands/{commandName}
{
api-version: string ,
deviceId: string ,
moduleName: string ,
componentName: string ,
commandName: string ,
body:
{
id: string ,
connectionTimeout: integer ,
responseTimeout: integer ,
request: string ,
response: string ,
responseCode: integer ,
}
,
}

⚐ Response (201)

{
id: string ,
connectionTimeout: integer ,
responseTimeout: integer ,
request: string ,
response: string ,
responseCode: integer ,
}

⚐ Response (default)

{
$headers:
{
x-ms-error-code: string ,
}
,
$schema:
{
error:
{
code: string ,
message: string ,
requestId: string ,
time: string ,
}
,
}
,
}
Devices_GetModuleComponentProperties (new)
Description Get module properties for a specific component
Reference Link ¶

⚼ Request

GET:  /devices/{deviceId}/modules/{moduleName}/components/{componentName}/properties
{
api-version: string ,
deviceId: string ,
moduleName: string ,
componentName: string ,
}

⚐ Response (200)

{
$schema: object ,
}

⚐ Response (default)

{
$headers:
{
x-ms-error-code: string ,
}
,
$schema:
{
error:
{
code: string ,
message: string ,
requestId: string ,
time: string ,
}
,
}
,
}
Devices_ReplaceModuleComponentProperties (new)
Description Replace module properties for a specific component
Reference Link ¶

⚼ Request

PUT:  /devices/{deviceId}/modules/{moduleName}/components/{componentName}/properties
{
api-version: string ,
deviceId: string ,
moduleName: string ,
componentName: string ,
body: object ,
}

⚐ Response (202)

{
$schema: object ,
}

⚐ Response (default)

{
$headers:
{
x-ms-error-code: string ,
}
,
$schema:
{
error:
{
code: string ,
message: string ,
requestId: string ,
time: string ,
}
,
}
,
}
Devices_UpdateModuleComponentProperties (new)
Description Update module properties for a specific component via patch
Reference Link ¶

⚼ Request

PATCH:  /devices/{deviceId}/modules/{moduleName}/components/{componentName}/properties
{
api-version: string ,
deviceId: string ,
moduleName: string ,
componentName: string ,
body: object ,
}

⚐ Response (202)

{
$schema: object ,
}

⚐ Response (default)

{
$headers:
{
x-ms-error-code: string ,
}
,
$schema:
{
error:
{
code: string ,
message: string ,
requestId: string ,
time: string ,
}
,
}
,
}
Devices_GetModuleComponentTelemetryValue (new)
Description Get the last telemetry value from a module component.
Reference Link ¶

⚼ Request

GET:  /devices/{deviceId}/modules/{moduleName}/components/{componentName}/telemetry/{telemetryName}
{
api-version: string ,
deviceId: string ,
moduleName: string ,
componentName: string ,
telemetryName: string ,
}

⚐ Response (200)

{
value: string ,
timestamp: string ,
}

⚐ Response (default)

{
$headers:
{
x-ms-error-code: string ,
}
,
$schema:
{
error:
{
code: string ,
message: string ,
requestId: string ,
time: string ,
}
,
}
,
}
Devices_GetModuleProperties (new)
Description Get all property values of a module.
Reference Link ¶

⚼ Request

GET:  /devices/{deviceId}/modules/{moduleName}/properties
{
api-version: string ,
deviceId: string ,
moduleName: string ,
}

⚐ Response (200)

{
$schema: object ,
}

⚐ Response (default)

{
$headers:
{
x-ms-error-code: string ,
}
,
$schema:
{
error:
{
code: string ,
message: string ,
requestId: string ,
time: string ,
}
,
}
,
}
Devices_ReplaceModuleProperties (new)
Description Replace all property values of a module.
Reference Link ¶

⚼ Request

PUT:  /devices/{deviceId}/modules/{moduleName}/properties
{
api-version: string ,
deviceId: string ,
moduleName: string ,
body: object ,
}

⚐ Response (202)

{
$schema: object ,
}

⚐ Response (default)

{
$headers:
{
x-ms-error-code: string ,
}
,
$schema:
{
error:
{
code: string ,
message: string ,
requestId: string ,
time: string ,
}
,
}
,
}
Devices_UpdateModuleProperties (new)
Description Update property values of a module.
Reference Link ¶

⚼ Request

PATCH:  /devices/{deviceId}/modules/{moduleName}/properties
{
api-version: string ,
deviceId: string ,
moduleName: string ,
body: object ,
}

⚐ Response (202)

{
$schema: object ,
}

⚐ Response (default)

{
$headers:
{
x-ms-error-code: string ,
}
,
$schema:
{
error:
{
code: string ,
message: string ,
requestId: string ,
time: string ,
}
,
}
,
}
Devices_GetModuleTelemetryValue (new)
Description Get the last telemetry value from a module.
Reference Link ¶

⚼ Request

GET:  /devices/{deviceId}/modules/{moduleName}/telemetry/{telemetryName}
{
api-version: string ,
deviceId: string ,
moduleName: string ,
telemetryName: string ,
}

⚐ Response (200)

{
value: string ,
timestamp: string ,
}

⚐ Response (default)

{
$headers:
{
x-ms-error-code: string ,
}
,
$schema:
{
error:
{
code: string ,
message: string ,
requestId: string ,
time: string ,
}
,
}
,
}
Devices_GetProperties (new)
Description Get all property values of a device by device ID.
Reference Link ¶

⚼ Request

GET:  /devices/{deviceId}/properties
{
api-version: string ,
deviceId: string ,
}

⚐ Response (200)

{
$schema: object ,
}

⚐ Response (default)

{
$headers:
{
x-ms-error-code: string ,
}
,
$schema:
{
error:
{
code: string ,
message: string ,
requestId: string ,
time: string ,
}
,
}
,
}
Devices_ReplaceProperties (new)
Description Replace all property values of a device by device ID.
Reference Link ¶

⚼ Request

PUT:  /devices/{deviceId}/properties
{
api-version: string ,
deviceId: string ,
body: object ,
}

⚐ Response (202)

{
$schema: object ,
}

⚐ Response (default)

{
$headers:
{
x-ms-error-code: string ,
}
,
$schema:
{
error:
{
code: string ,
message: string ,
requestId: string ,
time: string ,
}
,
}
,
}
Devices_UpdateProperties (new)
Description Update property values of a device by device ID.
Reference Link ¶

⚼ Request

PATCH:  /devices/{deviceId}/properties
{
api-version: string ,
deviceId: string ,
body: object ,
}

⚐ Response (202)

{
$schema: object ,
}

⚐ Response (default)

{
$headers:
{
x-ms-error-code: string ,
}
,
$schema:
{
error:
{
code: string ,
message: string ,
requestId: string ,
time: string ,
}
,
}
,
}
Devices_GetTelemetryValue (new)
Description Get the last telemetry value from a device.
Reference Link ¶

⚼ Request

GET:  /devices/{deviceId}/telemetry/{telemetryName}
{
api-version: string ,
deviceId: string ,
telemetryName: string ,
}

⚐ Response (200)

{
value: string ,
timestamp: string ,
}

⚐ Response (default)

{
$headers:
{
x-ms-error-code: string ,
}
,
$schema:
{
error:
{
code: string ,
message: string ,
requestId: string ,
time: string ,
}
,
}
,
}
FileUploads_Get (new)
Description Get the file upload storage account configuration.
Reference Link ¶

⚼ Request

GET:  /fileUploads
{
api-version: string ,
}

⚐ Response (200)

{
account: string ,
connectionString: string ,
container: string ,
sasTtl: string ,
state: enum ,
etag: string ,
}

⚐ Response (default)

{
$headers:
{
x-ms-error-code: string ,
}
,
$schema:
{
error:
{
code: string ,
message: string ,
requestId: string ,
time: string ,
}
,
}
,
}
FileUploads_Create (new)
Description Create the file upload storage account configuration.
Reference Link ¶

⚼ Request

PUT:  /fileUploads
{
api-version: string ,
body:
{
account: string ,
connectionString: string ,
container: string ,
sasTtl: string ,
state: enum ,
etag: string ,
}
,
}

⚐ Response (200)

{
account: string ,
connectionString: string ,
container: string ,
sasTtl: string ,
state: enum ,
etag: string ,
}

⚐ Response (default)

{
$headers:
{
x-ms-error-code: string ,
}
,
$schema:
{
error:
{
code: string ,
message: string ,
requestId: string ,
time: string ,
}
,
}
,
}
FileUploads_Update (new)
Description Update the file upload storage account configuration
Reference Link ¶

⚼ Request

PATCH:  /fileUploads
{
api-version: string ,
body: object ,
}

⚐ Response (200)

{
account: string ,
connectionString: string ,
container: string ,
sasTtl: string ,
state: enum ,
etag: string ,
}

⚐ Response (default)

{
$headers:
{
x-ms-error-code: string ,
}
,
$schema:
{
error:
{
code: string ,
message: string ,
requestId: string ,
time: string ,
}
,
}
,
}
FileUploads_Remove (new)
Description Delete the file upload storage configuration.
Reference Link ¶

⚼ Request

DELETE:  /fileUploads
{
api-version: string ,
}

⚐ Response (204)

{}

⚐ Response (default)

{
$headers:
{
x-ms-error-code: string ,
}
,
$schema:
{
error:
{
code: string ,
message: string ,
requestId: string ,
time: string ,
}
,
}
,
}
Organizations_List (new)
Description Get the list of organizations the user has access to in an application
Reference Link ¶

⚼ Request

GET:  /organizations
{
api-version: string ,
}

⚐ Response (200)

{
value:
[
{
id: string ,
displayName: string ,
parent: string ,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
$headers:
{
x-ms-error-code: string ,
}
,
$schema:
{
error:
{
code: string ,
message: string ,
requestId: string ,
time: string ,
}
,
}
,
}
Organizations_Get (new)
Description Get an organization by ID
Reference Link ¶

⚼ Request

GET:  /organizations/{organizationId}
{
api-version: string ,
organizationId: string ,
}

⚐ Response (200)

{
id: string ,
displayName: string ,
parent: string ,
}

⚐ Response (default)

{
$headers:
{
x-ms-error-code: string ,
}
,
$schema:
{
error:
{
code: string ,
message: string ,
requestId: string ,
time: string ,
}
,
}
,
}
Organizations_Create (new)
Description Create an organization in the application
Reference Link ¶

⚼ Request

PUT:  /organizations/{organizationId}
{
api-version: string ,
organizationId: string ,
body:
{
id: string ,
displayName: string ,
parent: string ,
}
,
}

⚐ Response (200)

{
id: string ,
displayName: string ,
parent: string ,
}

⚐ Response (default)

{
$headers:
{
x-ms-error-code: string ,
}
,
$schema:
{
error:
{
code: string ,
message: string ,
requestId: string ,
time: string ,
}
,
}
,
}
Organizations_Update (new)
Description Update an organization in the application via patch
Reference Link ¶

⚼ Request

PATCH:  /organizations/{organizationId}
{
api-version: string ,
organizationId: string ,
body: object ,
}

⚐ Response (200)

{
id: string ,
displayName: string ,
parent: string ,
}

⚐ Response (default)

{
$headers:
{
x-ms-error-code: string ,
}
,
$schema:
{
error:
{
code: string ,
message: string ,
requestId: string ,
time: string ,
}
,
}
,
}
Organizations_Remove (new)
Description Delete an organization
Reference Link ¶

⚼ Request

DELETE:  /organizations/{organizationId}
{
api-version: string ,
organizationId: string ,
}

⚐ Response (204)

{}

⚐ Response (default)

{
$headers:
{
x-ms-error-code: string ,
}
,
$schema:
{
error:
{
code: string ,
message: string ,
requestId: string ,
time: string ,
}
,
}
,
}
Roles_List (new)
Description Get the list of roles in an application.
Reference Link ¶

⚼ Request

GET:  /roles
{
api-version: string ,
}

⚐ Response (200)

{
value:
[
{
id: string ,
displayName: string ,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
$headers:
{
x-ms-error-code: string ,
}
,
$schema:
{
error:
{
code: string ,
message: string ,
requestId: string ,
time: string ,
}
,
}
,
}
Roles_Get (new)
Description Get a role by ID.
Reference Link ¶

⚼ Request

GET:  /roles/{roleId}
{
api-version: string ,
roleId: string ,
}

⚐ Response (200)

{
id: string ,
displayName: string ,
}

⚐ Response (default)

{
$headers:
{
x-ms-error-code: string ,
}
,
$schema:
{
error:
{
code: string ,
message: string ,
requestId: string ,
time: string ,
}
,
}
,
}
Users_List (new)
Description Get the list of users in an application
Reference Link ¶

⚼ Request

GET:  /users
{
api-version: string ,
}

⚐ Response (200)

{
value:
[
{
id: string ,
type: string ,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
$headers:
{
x-ms-error-code: string ,
}
,
$schema:
{
error:
{
code: string ,
message: string ,
requestId: string ,
time: string ,
}
,
}
,
}
Users_Get (new)
Description Get a user by ID
Reference Link ¶

⚼ Request

GET:  /users/{userId}
{
api-version: string ,
userId: string ,
}

⚐ Response (200)

{
id: string ,
type: string ,
}

⚐ Response (default)

{
$headers:
{
x-ms-error-code: string ,
}
,
$schema:
{
error:
{
code: string ,
message: string ,
requestId: string ,
time: string ,
}
,
}
,
}
Users_Create (new)
Description Create a user in the application
Reference Link ¶

⚼ Request

PUT:  /users/{userId}
{
api-version: string ,
userId: string ,
body:
{
id: string ,
type: string ,
}
,
}

⚐ Response (200)

{
id: string ,
type: string ,
}

⚐ Response (default)

{
$headers:
{
x-ms-error-code: string ,
}
,
$schema:
{
error:
{
code: string ,
message: string ,
requestId: string ,
time: string ,
}
,
}
,
}
Users_Update (new)
Description Update a user in the application via patch
Reference Link ¶

⚼ Request

PATCH:  /users/{userId}
{
api-version: string ,
userId: string ,
body: object ,
}

⚐ Response (200)

{
id: string ,
type: string ,
}

⚐ Response (default)

{
$headers:
{
x-ms-error-code: string ,
}
,
$schema:
{
error:
{
code: string ,
message: string ,
requestId: string ,
time: string ,
}
,
}
,
}
Users_Remove (new)
Description Delete a user
Reference Link ¶

⚼ Request

DELETE:  /users/{userId}
{
api-version: string ,
userId: string ,
}

⚐ Response (204)

{}

⚐ Response (default)

{
$headers:
{
x-ms-error-code: string ,
}
,
$schema:
{
error:
{
code: string ,
message: string ,
requestId: string ,
time: string ,
}
,
}
,
}